package com.lovo.model;

import java.io.Serializable;
import java.util.List;

import lombok.Data;

@Data
public class Role implements Serializable {
    /**
     * 角色id
     */
    private Integer roleId;

    /**
     * 角色名称
     */
    private String roleName;

    /**
     * 角色描述
     */
    private String roleDesc;

    /**
     * 角色拥有的权限
     */
    @javax.persistence.Transient
    private List<Authority>authorities;

    private static final long serialVersionUID = 1L;
}